//
// Decompiled by Jadx - 374ms
//
package me.plusne.common.Json.Soul;

import java.io.Serializable;

public class CreateAndGiftJson implements Serializable {
    private Integer code;
    private DataDTO data;
    private String message;
    private Boolean success;

    public boolean canEqual(Object obj) {
        return obj instanceof CreateAndGiftJson;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof CreateAndGiftJson)) {
            return false;
        }
        CreateAndGiftJson createAndGiftJson = (CreateAndGiftJson) obj;
        if (!createAndGiftJson.canEqual(this)) {
            return false;
        }
        Integer code = getCode();
        Integer code2 = createAndGiftJson.getCode();
        if (code != null ? !code.equals(code2) : code2 != null) {
            return false;
        }
        Boolean success = getSuccess();
        Boolean success2 = createAndGiftJson.getSuccess();
        if (success != null ? !success.equals(success2) : success2 != null) {
            return false;
        }
        String message = getMessage();
        String message2 = createAndGiftJson.getMessage();
        if (message != null ? !message.equals(message2) : message2 != null) {
            return false;
        }
        DataDTO data = getData();
        DataDTO data2 = createAndGiftJson.getData();
        return data != null ? data.equals(data2) : data2 == null;
    }

    public Integer getCode() {
        return this.code;
    }

    public DataDTO getData() {
        return this.data;
    }

    public String getMessage() {
        return this.message;
    }

    public Boolean getSuccess() {
        return this.success;
    }

    public int hashCode() {
        Integer code = getCode();
        int hashCode = code == null ? 43 : code.hashCode();
        Boolean success = getSuccess();
        int hashCode2 = ((hashCode + 59) * 59) + (success == null ? 43 : success.hashCode());
        String message = getMessage();
        int hashCode3 = (hashCode2 * 59) + (message == null ? 43 : message.hashCode());
        DataDTO data = getData();
        return (hashCode3 * 59) + (data != null ? data.hashCode() : 43);
    }

    public void setCode(Integer num) {
        this.code = num;
    }

    public void setData(DataDTO dataDTO) {
        this.data = dataDTO;
    }

    public void setMessage(String str) {
        this.message = str;
    }

    public void setSuccess(Boolean bool) {
        this.success = bool;
    }

    public String toString() {
        return "CreateAndGiftJson(code=" + getCode() + ", message=" + getMessage() + ", data=" + getData() + ", success=" + getSuccess() + ")";
    }


    public static class DataDTO implements Serializable {
        private String avatarName;
        private Integer cuteFaceGiftId;
        private Object failCode;
        private Object failDesc;
        private String oriAvatarName;
        private Boolean result;

        public boolean canEqual(Object obj) {
            return obj instanceof DataDTO;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof DataDTO)) {
                return false;
            }
            DataDTO DataDTO = (DataDTO) obj;
            if (!DataDTO.canEqual(this)) {
                return false;
            }
            Boolean result = getResult();
            Boolean result2 = DataDTO.getResult();
            if (result != null ? !result.equals(result2) : result2 != null) {
                return false;
            }
            Integer cuteFaceGiftId = getCuteFaceGiftId();
            Integer cuteFaceGiftId2 = DataDTO.getCuteFaceGiftId();
            if (cuteFaceGiftId != null ? !cuteFaceGiftId.equals(cuteFaceGiftId2) : cuteFaceGiftId2 != null) {
                return false;
            }
            Object failCode = getFailCode();
            Object failCode2 = DataDTO.getFailCode();
            if (failCode != null ? !failCode.equals(failCode2) : failCode2 != null) {
                return false;
            }
            Object failDesc = getFailDesc();
            Object failDesc2 = DataDTO.getFailDesc();
            if (failDesc != null ? !failDesc.equals(failDesc2) : failDesc2 != null) {
                return false;
            }
            String avatarName = getAvatarName();
            String avatarName2 = DataDTO.getAvatarName();
            if (avatarName != null ? !avatarName.equals(avatarName2) : avatarName2 != null) {
                return false;
            }
            String oriAvatarName = getOriAvatarName();
            String oriAvatarName2 = DataDTO.getOriAvatarName();
            return oriAvatarName != null ? oriAvatarName.equals(oriAvatarName2) : oriAvatarName2 == null;
        }

        public String getAvatarName() {
            return this.avatarName;
        }

        public Integer getCuteFaceGiftId() {
            return this.cuteFaceGiftId;
        }

        public Object getFailCode() {
            return this.failCode;
        }

        public Object getFailDesc() {
            return this.failDesc;
        }

        public String getOriAvatarName() {
            return this.oriAvatarName;
        }

        public Boolean getResult() {
            return this.result;
        }

        public int hashCode() {
            Boolean result = getResult();
            int hashCode = result == null ? 43 : result.hashCode();
            Integer cuteFaceGiftId = getCuteFaceGiftId();
            int hashCode2 = ((hashCode + 59) * 59) + (cuteFaceGiftId == null ? 43 : cuteFaceGiftId.hashCode());
            Object failCode = getFailCode();
            int hashCode3 = (hashCode2 * 59) + (failCode == null ? 43 : failCode.hashCode());
            Object failDesc = getFailDesc();
            int hashCode4 = (hashCode3 * 59) + (failDesc == null ? 43 : failDesc.hashCode());
            String avatarName = getAvatarName();
            int hashCode5 = (hashCode4 * 59) + (avatarName == null ? 43 : avatarName.hashCode());
            String oriAvatarName = getOriAvatarName();
            return (hashCode5 * 59) + (oriAvatarName != null ? oriAvatarName.hashCode() : 43);
        }

        public void setAvatarName(String str) {
            this.avatarName = str;
        }

        public void setCuteFaceGiftId(Integer num) {
            this.cuteFaceGiftId = num;
        }

        public void setFailCode(Object obj) {
            this.failCode = obj;
        }

        public void setFailDesc(Object obj) {
            this.failDesc = obj;
        }

        public void setOriAvatarName(String str) {
            this.oriAvatarName = str;
        }

        public void setResult(Boolean bool) {
            this.result = bool;
        }

        public String toString() {
            return "CreateAndGiftJson.DataDTO(result=" + getResult() + ", cuteFaceGiftId=" + getCuteFaceGiftId() + ", failCode=" + getFailCode() + ", failDesc=" + getFailDesc() + ", avatarName=" + getAvatarName() + ", oriAvatarName=" + getOriAvatarName() + ")";
        }
    }
}
